From 56bbdea25d3b333103d5b274a61846b10d1fb261 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 13 May 2013 17:23:01 +0100 Subject: [PATCH] xen/arm: support "arm, armv8-timer" DTS compatibility. On v8 the compatibility name differs but the node is otherwise specified the same. See linux/Documentation/devicetree/bindings/arm/arch_timer.txt Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini --- xen/arch/arm/time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/arm/time.c b/xen/arch/arm/time.c index db849cf4bf..4ed7882722 100644 --- a/xen/arch/arm/time.c +++ b/xen/arch/arm/time.c @@ -106,6 +106,8 @@ int __init init_xen_time(void) unsigned int i; dev = dt_find_compatible_node(NULL, NULL, "arm,armv7-timer"); + if ( !dev ) + dev = dt_find_compatible_node(NULL, NULL, "arm,armv8-timer"); if ( !dev ) panic("Unable to find a compatible timer in the device tree\n"); -- 2.30.2